<template>
	<view>
		<map style="width: 100%; height:100vh;" :latitude="latitude" :longitude="longitude"
			:markers="covers"></map>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				latitude: 39.909,
				longitude: 116.39742,
				covers: [{
					id:1,
					latitude: 39.909,
					longitude: 116.39742,
					iconPath: '../../static/location.png',
					width:50,
					height:50
				}]
			}
		},
		onLoad(op) {
			console.log("op",op)
			this.latitude = this.covers[0].latitude = op.latitude
			this.longitude = this.covers[0].longitude = op.longitude
			console.log(this.covers)
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
